@import './temp.scss'; //头部css, 引入公用头部后删除
@import './animate.scss'; //动画css

@import './ui/button.scss';
@import './ui/icon.scss';
@import './ui/input.scss';
@import './ui/table.scss';
@import './ui/transfer.scss';
@import './ui/form.scss';
@import './ui/tabs.scss';

@media screen and (max-width: 1600px){
  body{
    zoom: 0.9
  }
}
@media screen and (max-width: 1400px) {
  body{
    zoom: 0.8
  }
}
@media screen and (max-width: 1300px) {
  body{
    zoom: 0.75
  }
}
.m-10 {margin: 10px!important}
.m-20 {margin: 20px!important}
.m-30 {margin: 30px!important}
.mt-5 {margin-top: 5px!important}
.mt-10 {margin-top: 10px!important}
.mt-20 {margin-top: 20px!important}
.mt-30 {margin-top: 30px!important}
.mb-5 {margin-bottom: 5px!important}
.mb-10 {margin-bottom: 10px!important}
.mb-20 {margin-bottom: 20px!important}
.mb-30 {margin-bottom: 30px!important}
.ml-5 {margin-left: 5px!important}
.ml-10 {margin-left: 10px!important}
.ml-20 {margin-left: 20px!important}
.ml-30 {margin-left: 30px!important}
.mr-10 {margin-right: 10px!important}
.mr-20 {margin-right: 20px!important}
.mr-30 {margin-right: 30px!important}
.p-10 {padding: 10px!important}
.p-20 {padding: 20px!important}
.p-30 {padding: 30px!important}
.pt-10 {padding-top: 10px!important}
.pt-20 {padding-top: 20px!important}
.pt-30 {padding-top: 30px!important}
.pb-10 {padding-bottom: 10px!important}
.pb-20 {padding-bottom: 20px!important}
.pb-30 {padding-bottom: 30px!important}
.pl-10 {padding-left: 10px!important}
.pl-20 {padding-left: 20px!important}
.pl-30 {padding-left: 30px!important}
.pr-10 {padding-right: 10px!important}
.pr-20 {padding-right: 20px!important}
.pr-30 {padding-right: 30px!important}
.f-left{float:left}
.f-right{float:right}
.layout-main-group{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 1280px;
  background: #fff;
}

.layout-container{
  flex: 1;
  position: relative;
  flex-direction: row;
}
.layout-aside{
  position: absolute;
  left: 0;
  width: 178px;
  background: #323a44;
  overflow-y: auto;
  .nav{
    ul{
      li{
        display: block;
        a{
          display: block;
          border-left: 4px solid transparent;
          padding-right: 4px;
          height: 120px;
          color: #fff;
          text-align: center;
          overflow: hidden;
        }
        a:hover{
          background: #2b323c;
        }
        .icon{
          display: block;
          margin: 40px auto 8px;
          width: 24px;
          height: 24px;
        }
        .icon-talent{
          background: url('~@/assets/images/icon/icon_nav_talent.png') no-repeat center center;
        }
        .icon-project{
          background: url('~@/assets/images/icon/icon_nav_project.png') no-repeat center center;
        }
        .icon-post{
          background: url('~@/assets/images/icon/icon_nav_post.png') no-repeat center center;
        }
        .icon-mapping{
          background: url('~@/assets/images/icon/icon_nav_mapping.png') no-repeat center center;
        }
      }
      li.active{
        a{
          background-color: #222933;
          border-color: #4c9de7;
        }
      }
    }
  }
  .layout-config-buttons{
    margin: 0 12px;
    padding: 10px 0;
    border-top: 1px solid #6e747b
  }
  .aside-config-button{
    display: block;
    height: 16px;
    line-height: 16px;
    padding: 12px 0;
    margin: 0 -12px;
    cursor: pointer;
    .icon {
      width: 16px;
      height: 16px;
      margin-left: 12px;
    }
    span{
      margin-left: 25px;
      line-height: 16px;
      font-size: 14px;
      color: #fff;
    }
    .el-badge__content{
      border: none;
      background-color: #ff3939
    }
  }
  .aside-config-button.active {
    border-left: 4px solid #4c9de7;
    background-color: #222933;
    .icon{
      margin-left: 8px;
    }
  }
  .aside-config-button:hover{
    background: #2b323c;
  }
  .aside-config-button.active:hover{
    background: #222933;
  }
  .layout-config {
    margin-left: 12px;
    margin-top: 25px;
    padding: 5px 0;
    cursor: pointer;
    span {
      height: 20px;
      line-height: 20px;
    }
    .el-switch {
      margin-left: 10px;
    }
  }
}
.layout-main{
  margin-left: 178px;
  position: relative;
  .container{
    flex: 1;
    display: flex;
    padding: 20px;
  }
}
.search-form{
  flex-grow: 0;
  position: relative;
}
.layout-table{
  position: relative;
  .my-ats-box{
    width: 200px;
  }
  .table-box{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    
  }
}
.layout-table.is-fixed{
  .my-ats-box{
    position: fixed!important;
    left: 198px!important;
    top: 20px!important;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
  }
}
.layout-table.is-open {
  .my-ats-box{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 199;
  }
  .table-box {
    margin-left: 220px;
    width: calc(100% - 220px)
  }
}
.container{
  .main-container{
    flex: 1;
    display: flex;
    flex-direction: column;
    position: absolute;
    margin-right: 80px;
    width: calc(100% - 120px)
  }
}
//flex layout
.flex-box{
  display: flex;
  .flex-item{
    flex: 1;
  }
  .flex-grow-0{
    flex-grow: 0;
  }
  .align-center{
    align-items: center;
  }
}

.t-left{
  text-align: left !important
}
.t-center{
  text-align: center !important
}
.t-right{
  text-align: right !important
}
.mini-title{
  font-size: 14px;
  color: #5e5e5e;
  line-height: 18px;
  border-left: 4px solid #4eb619;
  padding-left: 12px;
  font-weight: bold;
  text-align: left;
}
.text-nowrap{
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-wrap: normal !important;
  word-wrap: normal\0 !important;
}

.clearfix:before,.clearfix:after{
  content: '';
  display: table;
  clear: both;
}

//el-dialog
.el-dialog{
  .el-dialog__header{
    background: #323a44;
    font-size: 16px;
    padding:8px 20px;
    span{
      color: #fff;
    }
    .el-dialog__headerbtn{
      top: 10px;
      right: 12px;
    }
  }
  .el-dialog__body{
    padding: 0;
  }
}
.setting-container{
  height: 520px;
  flex: 1;
  .setting-content{
    flex-direction: column;
    flex: 1;
    .main{
      flex: 1;
      padding: 20px 30px;
      overflow-y: auto;
    }
    .dialog-bottom{
      flex-grow: 0;
      padding: 20px 40px 35px;
      .ui-button{
        margin: 0 10px;
      }
    }
  }
}

.form-bottom{
  margin: 15px 0;
  text-align: center;
}
.dialog-nav{
  width: 160px;
  height: 100%;
  overflow: hidden;
  background: #e7eaf1;
  flex-grow: 0;
  ul{
    display: block;
    overflow-y: auto;
    li{
      line-height: 20px;
      color: #5e5e5e;
      padding: 20px 26px;
      cursor: pointer;
    }
    li:hover{
      background: rgba(255,255,255,.3);
    }
    li.active{
      background: #fff;
    }
  }
}
.user-head{
  display: inline-block;
  width: 64px;
  height: 64px;
  border: 1px solid #f1f3f7;
  border-radius: 50%;
  overflow: hidden;
  vertical-align: middle;
  img{
    width: 100%;
    height: 100%;
  }
}
.user-head.mini{
  width: 36px;
  height: 36px;
}
hr.hr-line{
  border-top:1px solid #acacac;
  margin: 20px 0;
}

.search-option-form{
  margin: 15px 0;
  label{
    display:inline-block;
    color: #919191;
  }
  .el-checkbox-group{
    display: inline-block;
  }
  .el-checkbox__input.is-checked+.el-checkbox__label{
    color: #919191;
  }
}

.layout-breadcrumb{
  position: relative;
  padding: 10px 10px;
  background: #fbfbfd;
  margin-top: 10px;
  .breadcrumb-item {
    color: #1f89e6;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
  }
  .breadcrumb-separator {
    font-size: 12px;
    color: #1f89e6;
    line-height: 20px;
    vertical-align: middle;
  }
  .el-icon-arrow-down {
    position: absolute;
    right: 20px;
    font-size: 20px;
    top: 10px;
  }
}

.search-block{
  display: inline-block;
  padding-left: 20px;
  margin-left: 40px;
  border-left: 1px solid #afafaf;
}
.table-setting{
  position: absolute;
  right: 10px;
  top: 5px;
  cursor: pointer;
}
.table-setting:hover{
  opacity: .9;
}

.project-d-container{
  background: #fbfbfd;
  padding: 20px;
  position: relative;
  .submit-box{
    position: absolute;
    right: 20px;
    bottom: 20px;
  }
}
.add-new-block{
  display: inline-block;
  padding: 0 18px;
  line-height: 26px;
  height: 26px;
  box-sizing: border-box;
  border-radius: 13px;
  border: 1px dashed #dcdcdc;
  color: #acacac;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease-in-out
}
.add-new-block:hover{
  border-style: solid;
  background: #fafafa;
  color: #666
}

.right-side{
  width: 200px;
  position: absolute;
  right: 20px;
  top: 20px;
  text-align: right;
}
.right-side.is-close{
  width: 60px;
  .close-title{
    position: relative;
    cursor: pointer;
    width: 60px;
    height: 307px;
    background: #f9f9f9;
    text-align: center;
    .mini-t{
      display: inline-block;
      width: 18px;
      height: 5px;
      background: #4eb619;
      margin-top: 18px
    }
    .title{
      margin-top: 20px;
      font-size: 18px;
      line-height: 30px;
      color: #5e5e5e;
    }
    .icon{
      width: 100%;
      position: absolute;
      bottom: 20px;
      left: 0;
    }
  }
}
.right-side.is-fixed{
  position: fixed!important;
  top: 20px;
  right: 20px;
}
.container.is-open{
  .main-container{
    margin-right:260px;
    width: calc(100% - 260px)
  }
}
.right-side.is-close .close-title:hover{
  background: #f4f5f9;
}